package main.java.com.blog.service;


import com.blog.entity.User;

import java.util.List;

/**
 * Created by Admin on 2017/5/31.
 */
public interface UserService {
    int addUser(User user);

    User findByAccount(String userAccount);

    User findById(Integer userId);

    List<User> findAll();

    int updateByUserAccount(User user);
 }
